﻿using ICSharpCode.WinFormsUI.Theme;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DevelopAssistant.Service
{
    public class TSQLEditorSettings
    {
        private bool _enableDatabaseTran = true;
        public bool EnableDataBaseTran
        {
            get { return _enableDatabaseTran; }
            set { _enableDatabaseTran = value; }
        }

        private bool _enableIntellisense = false;
        public bool EnableIntellisense
        {
            set
            {
                _enableIntellisense = value;               
            }
            get { return _enableIntellisense; }
        }

        private System.Drawing.Font _editorFont = new System.Drawing.Font("Arial", 9.0f, System.Drawing.FontStyle.Regular);
        public System.Drawing.Font EditorFont
        {
            get { return _editorFont; }
            set { _editorFont = value; }
        }

        private System.Drawing.Font _promptFont = new System.Drawing.Font("Arial", 9.0f, System.Drawing.FontStyle.Regular);
        public System.Drawing.Font PromptFont
        {
            get { return _promptFont; }
            set { _promptFont = value; }
        }

        private System.Drawing.Color _promptForeColor = System.Drawing.Color.Black;
        public System.Drawing.Color PromptForeColor
        {
            get { return _promptForeColor; }
            set { _promptForeColor = value; }
        }

        private System.Drawing.Color _promptBackColor = System.Drawing.Color.Black;
        public System.Drawing.Color PromptBackColor
        {
            get { return _promptBackColor; }
            set { _promptBackColor = value; }
        }

    }

    public class AppSettings
    {
        public static System.Drawing.Font WindowFont { get; set; }

        public static WinFormsUIThemeBase WindowTheme { get; set; }

        public static TSQLEditorSettings EditorSettings { get; set; }       
        
    }
}
